#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
int main()
{
	char c[105];
	int num[26] = { 0 };
	gets(c);
	for (int i = 0; i < strlen(c); i++)
	{
		if (c[i] >= 'A' && c[i] <= 'Z') c[i] += 32;
	}
	for (int i = 0; i < strlen(c); i++)
	{
		if (c[i] >= 'a' && c[i] <= 'z') num[c[i] - 'a']++;
	}
	for (int i = 0; i < 25; i++)
	{
		printf("%d,",num[i]);
	}
	printf("%d", num[25]);
	return 0;
}